<template>
  <div id="app">
    <!--头部组件-->
    <m-header></m-header>
    <!--tab组件-->
    <tab></tab>
    <!--使用路由-->
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
    <!--播放器-->
    <player></player>
  </div>
</template>

<script type="text/ecmascript-6">
  // 引入头部组件
  import MHeader from 'components/m-header/m-header'
  // 引入tab 页面组件
  import Tab from 'components/tab/tab'
  // 引入播放器组件
  import player from 'components/player/player'
  export default {
    // 组件注册
    components: {
      MHeader,
      Tab,
      player
    }
  }
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
</style>
